package com.yiweikeji.project.aspect;

import org.aspectj.lang.annotation.Aspect;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Configuration;


/**
 * 消息通知AOP
 */
@Aspect
@Configuration
public class MessageNotificationAop {

	private static Logger log = LoggerFactory.getLogger(MessageNotificationAop.class);



	/**
	 * 卡券到账时通知用户
	 * 
	 * @param joinPoint
	 */
//	@AfterReturning(pointcut = "execution(* com.kameng.project.service.impl.MemberOrderServiceImpl.recharge(..))", returning = "returnValue")
//	public void couponArrivalAccount(JoinPoint joinPoint, Object returnValue) {
//		try {
//
//		} catch (Throwable e) {
//			log.error("卡券到账时通知失败，原因e:{}", e);
//			e.printStackTrace();
//		}
//
//	}



}
